package cn.alex.sso.project.service.impl;

import cn.alex.sso.framework.core.PageHelper;
import cn.alex.sso.project.entity.SysLoginLog;
import cn.alex.sso.project.mapper.SysLoginLogMapper;
import cn.alex.sso.project.service.SysLoginLogService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author Alex
 * @description 针对表【sys_login_log(登录日志表)】的数据库操作Service实现
 * @createDate 2024-10-22 14:02:48
 */
@Service
public class SysLoginLogServiceImpl extends ServiceImpl<SysLoginLogMapper, SysLoginLog> implements SysLoginLogService {

    @Override
    public IPage<SysLoginLog> getPage(SysLoginLog entity) {
        return baseMapper.selectPage(PageHelper.getPage(), entity);
    }
}




